﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity.InterceptionExtension;
using Microsoft.Practices.Unity;

namespace Luminji.Core.Enterprise.RBAC
{
    public class AuthorityAttribute : HandlerAttribute
    {
        //IUser _user;

        //public IUser User
        //{
        //    get { return _user; }
        //    set { _user = value; }
        //}

        public string sss;

        public override ICallHandler CreateHandler(IUnityContainer container)
        {
            return new AuthorityHandler() ;
        }
    }
}
